using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class RougeSceneBoundOutTrigger : TriggerBase
{
    protected override void OnTriggerExit2D(Collider2D other)
    {
        base.OnTriggerExit2D(other);
        if (other.CompareTag("Player") == false)
            return;

        EventCenter.TriggerEvent(EventName.LeaveRougeGame);
    }
}
